package com.hlkj.baojin.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * lzx
 */
@Getter
@Setter
public class StatusDataVO implements Serializable {
    @ApiModelProperty("时间集合")
    private Set dateList;
    @ApiModelProperty("数据集合")
    private Map dataSet;
    @ApiModelProperty("安全值下限")
    private Double safeValueDown;
    @ApiModelProperty("安全值上限")
    private Double getSafeValueUp;
    @ApiModelProperty("监控类型")
    private Integer type;
    @ApiModelProperty("开始时间")
    private Long startTime;
    @ApiModelProperty("结束时间，没有则未恢复，需要实时刷新")
    private Long endTime;
    @ApiModelProperty("最大值")
    private Double maxValue;

    public StatusDataVO() {
    }

    public StatusDataVO(Set dateList, Map dataSet, Integer type, Double safeValueDown, Double getSafeValueUp) {
        this.dateList = dateList;
        this.dataSet = dataSet;
        this.type = type;
        this.safeValueDown = safeValueDown;
        this.getSafeValueUp = getSafeValueUp;
    }
}
